package com.wanxi.education.model.vo.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/24 0024
 * @Version: 1.0
 */
@Data
@ApiModel(value = "课程列表信息vo类")
public class CourseVo {
    @ApiModelProperty(value = "主键id")
    private Long id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 老师姓名
     */
    @ApiModelProperty(value = "老师姓名")
    private String teacher;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 售卖量
     */
    @ApiModelProperty(value = "售卖量")
    private Integer sale;


    /**
     * 点击量
     */
    @ApiModelProperty(value = "点击量")
    private Integer point;

    /**
     * 课程状态：
     * 0使用中，1未使用
     */
    @ApiModelProperty(value = "课程状态 0使用中，1未使用",required = true)
    private Integer status;



}
